import {service} from "@/utils/http";

export const getUserInfo = (id) => {
    const url = `userCenter/user/selectUserInfoById?userId=` + id
    return service.get(url, id)
}

export const updateUserInfo = (param) => {
    const url = `userCenter/userInfo/updateUserInfo`
    return service.post(url, param)
}